package com.qys.livesMall.app.user.model.dto.app;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/27
 * Time: 17:00
 * DESCRIPTION: 用户提现
 */
@Data
public class AppUserWithdrawalsDTO implements Serializable {
    static final long serialVersionUID = 42L;

    @Schema(description = "银行卡/合约id")
    private String id;

    @Schema(description = "汇率国")
    private String country;

    @Schema(description = "汇率")
    private BigDecimal exchangeRate;

    @Schema(description = "金额")
    @NotNull
    private BigDecimal amount;

    @Schema(description = "支付密码")
    private String password;

    @Schema(description = "通道id")
    private Integer channelId;
}
